package com.example.demo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Cart {
    private Long cartId;
    private Long userId;
    private Long menuId;
    private Integer number;
    private String founder;
    private Timestamp foundTime;
    private String updater;
    private Timestamp updateTime;
    private Byte isDelete;

    @Override
    public String toString() {
        return "Cart{" +
                "cartId=" + cartId +
                ", userId=" + userId +
                ", menuId=" + menuId +
                ", number=" + number +
                ", founder='" + founder + '\'' +
                ", foundTime=" + foundTime +
                ", updater='" + updater + '\'' +
                ", updateTime=" + updateTime +
                ", isDelete=" + isDelete +
                '}';
    }
}
